.TH "nvme_security_send" 2 "nvme_security_send" "February 2020" "libnvme Manual"
.SH NAME
nvme_security_send \- 
.SH SYNOPSIS
.B "int" nvme_security_send
.BI "(int " fd ","
.BI "__u32 " nsid ","
.BI "__u8 " nssf ","
.BI "__u8 " spsp0 ","
.BI "__u8 " spsp1 ","
.BI "__u8 " secp ","
.BI "__u32 " tl ","
.BI "__u32 " data_len ","
.BI "void *" data ","
.BI "__u32 *" result ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "nsid" 12
Namespace ID to issue security command on
.IP "nssf" 12
NVMe Security Specific field
.IP "spsp0" 12
Security Protocol Specific field
.IP "spsp1" 12
Security Protocol Specific field
.IP "secp" 12
Security Protocol
.IP "tl" 12
Protocol specific transfer length
.IP "data_len" 12
Data length of the payload in bytes
.IP "data" 12
Security data payload to send
.IP "result" 12
The command completion result from CQE dword0
.SH "DESCRIPTION"
The Security Send command is used to transfer security protocol data to the
controller. The data structure transferred to the controller as part of this
command contains security protocol specific commands to be performed by the
controller. The data structure transferred may also contain data or
parameters associated with the security protocol commands.

The security data is protocol specific and is not defined by the NVMe
specification.
.SH "RETURN"
The nvme command status if a response was received or -1 with errno
set otherwise.
